package com.jk.model;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@ToString
@Data
@Document(collection = "shopping")
public class ShopBean implements Serializable {

    private String id;  //主键id

    private Integer userId;     //用户id

    private Integer productId;      //商品id

    private String createTime;      //创建时间
}
